using System.Reflection;
using AdvancedGod.People.Couples;

namespace AdvancedGod.People
{
  /// <summary>
  /// Represents pretty girl
  /// </summary>
  [Couple(Pair = "Student", Probability = 0.4, ChildType = "PrettyGirl")]
  [Couple(Pair = "Botan", Probability = 0.1, ChildType = "PrettyGirl")]
  public sealed class PrettyGirl : Girl
  {
    #region public methods
    /// <summary>
    /// Constructs pretty girl with fields, initialized with values specified
    /// </summary>
    /// <param name="name">girl's name</param>
    public PrettyGirl(string name)
      : base(name)
    {
    }
    #endregion

    #region protected overrided Human methods
    /// <summary>
    /// Returns member info about concrete extended class
    /// </summary>
    /// <returns></returns>
    protected override MemberInfo GetMemberInfo()
    {
      return typeof(PrettyGirl);
    }
    #endregion
  }
}